package com.weiweiqin.dao.impl;

import java.util.List;

import com.weiweiqin.dao.GoodsDao;
import com.weiweiqin.model.Goods;

public class GoodsDaoImpl extends GenericMybatisDao<Goods, Integer>
		implements GoodsDao {

	@SuppressWarnings("unchecked")
	public List<Goods> getListByCategoryId(int categoryId) {
		
		return ( List<Goods>)getSqlSession().selectList("Goods_getByCategoryId",categoryId);
	}


}